home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / tsthck08.zip / TESTHACK.DOC < prev    next >
Text File  |  1992-12-20  |  6KB  |  170 lines

  1. <TestHack.doc V 0.80 20/12/92>
  2.  
  3. History-what does it do ?
  4. *************************
  5.  
  6. This programs matches all names in the current directory or the name of
  7. the files or of the directories given as parameter against the name list
  8. given in the HACK report. Typically, this is the file HACKYYXX.COL where
  9. YY is the year and XX the release number.
  10.  
  11. If the name of the file is found, it then proceed to
  12. a) make a silly noise
  13. b) write a file called ALARM.HAK with the name of the faulty file
  14. c) do anything you care to make it do by specifying it in the config
  15.    file.
  16.  
  17. This program is multilingual since you can redefine all msg in your own
  18. language (i *am* Belgian).
  19.  
  20. This program includes a self check for virus.
  21.  
  22. Releases
  23. ********
  24.  
  25. 0.55 20/12/92
  26.  
  27. 0.80 20/12/92 much better and complete control of the parameters on the
  28.      command line. Output of action taken is no longer visible on the
  29.      screen.  Various optimizations. File found msg added.
  30.  
  31. Technical stuff
  32. ****************
  33. This is written using Turbo Pascal 7.0 (Tm of Borland).
  34. 461 lines source code for about 11k.
  35.  
  36. Source code availability
  37. *************************
  38. source code is not available: it is dull, long and unecessarily
  39. complicated. Get High: write your own !
  40.  
  41. Disclaimer
  42. **********
  43. The only thing I can guarantee is that this program will take up space on
  44. your hard disk. The rest is beyond my control. Use it at your own risks,
  45. i don't wanna hear about it.
  46.  
  47. =>> ßeta policy:
  48. ****************
  49. if a version carries the ßeta sign, it means it has not been fully
  50. tested. The version might actually work flawlessly in 99 % of the cases
  51. but again it might not. In any case, ALL BETA VERSION WILL COMMIT
  52. SUICIDE AT THE LATEST ON THE MARCH 4TH FOLLOWING THEIR RELEASE. A beta
  53. version is usually what it implies: a program not finished yet and i
  54. don't want unfinished programs on the loose. If you get a beta and don't
  55. see a normal realease appearing afterwards and would like to continue
  56. using the product, just netmail me or download it from CTServe
  57. (2:270/25@FidoNet.org). Media Concept (2:293/3400) and usually Tornado
  58. also carry my softs.
  59.  
  60. Registration
  61. ************
  62. This is not free software and it is copyrighted Thunus F. (C) 1992.
  63.  
  64. However, you can use it and distribute it free of charge providing that
  65. all the files are distributed together and that you send me a netmail to
  66. register. You are allowed to change the archive type to whatever you
  67. like best and to add your bbs's tag in the archive.
  68.  
  69.  
  70. Installation
  71. ************
  72. This archive should contain the following files:
  73.  
  74. TestHack.EXE  The executable file (11284)
  75. TestHack.DOC  This file
  76. TestHack.CFG  sample config file
  77. Hack92FA.col  a sample hoax data file - get the real arc !
  78. PRODUCTS.LST  other software by the same author
  79.  
  80. a config file is like this:
  81.  
  82. ; Sample config file for TestHack 0.8
  83. ; all lines beginning with ; are ignored
  84. ;
  85. A  Si je trouve un virus, je fais :
  86. ;  msg: if I find a virus, i'll :
  87. C  je vérifie :
  88. ;  msg: checking
  89. D  D:\tp6\HAck92FA.col
  90. ;  data: location of data file
  91. F  fichiers en incluant
  92. ;  msg: files in current dir
  93. K  d:\util\mybatch.bat
  94. ;  action to be taken if a dangerous file is found
  95. N  nom d'archives dans le fichier données
  96. ;  msg: archive names in the data file
  97. S  Il vaudrait mieux vérifier
  98. ;  msg: you'd better have a look at this file
  99. T  fichiers suspects trouvés
  100. ;  msg: suspect files found
  101. W  Le fichier donnée se trouve en :
  102. ;  msg: The data file is :
  103.  
  104. all msg begin on column 4
  105.  
  106. Just tailor the config file and launch the program.
  107. Default are:
  108.   msg in English,
  109.   data file in current directory
  110.   checking current directory
  111.  
  112. i just launch it onto the upload directory: testhack f:\hostup
  113. and test for the alarm.HAk file with the dos exist command.
  114. If a fraud is found the exit code (errorlevel) of the program is 666,
  115. else 0 for normal termination, 1 if not enough memory, 2 if file not
  116. found.
  117. It should take anything as command line parameter, ie filename,
  118. directory name or wildcards.
  119. The config file must reside in the same directory as the exe file and
  120. the alarm.hak is created there as well.
  121.  
  122. Kudos / ACK
  123. ************
  124. - Turbo Pascal is a trademark of Borland International.
  125. - IBM is a trademark of International Business Machines Corporation.
  126.                   (this line is intentionally left blank)
  127. - MS-DOS is a trademark of Microsoft Corporation.
  128. - Lee Jackson (1:382/95) for putting together the Hack report
  129.  
  130. Just in case I left anyone out, here is a global acknowledgement of
  131. copyright:
  132.  
  133. *.*  is a  copyright /  trademark /  service  mark /  trade name  / pet
  134. project / patent of *.*, All rights reserved.
  135.  
  136. Support
  137. ********
  138. No real support for this file but if really necessary,
  139. Support and registration :
  140. You can reach me @ CTServe: +352 45 26 65 (8N1) 24h
  141. AKA SysOp or
  142.  
  143. FidoNet   2:270/25.1
  144. InterNet  Francois@fido.lu
  145. WalNet    22:500/1
  146.  
  147. or by snailmail to
  148.  
  149. Thunus F.
  150. 43 rue des Ateliers
  151. B-6792 Halanzy
  152. Belgium
  153.  
  154.  
  155. No Voice Phonecall please ! all netmail will be answered.
  156.  
  157. If ((comment > 0) or (happiness > 0)) then
  158.     begin
  159.      NetMail:=NetMail+1;
  160.      Happiness_programmer:=Inc(Happiness_programmer);
  161.     end;
  162.   If Happiness > 0 then repeat
  163.      inc(programming);
  164.      shareware:=shareware++;
  165.      until NMI;
  166.  
  167. Drop also a line to give feedback. I've been known to hang around pascal
  168. conference in various bbs amongst which the superb Media Concept in
  169. Belgium as well as PC AArhus (Denmark).
  170.